<template>
  <div class="child">
    <h2>我是Child组件,{{ school }}</h2>
    <h3>{{ str | cut(9) }}</h3>
    <Hello/>
  </div>
</template>

<script>
  export default {
    name:'Child',
    data() {
      return {
        str:'good good study day day up'
      }
    },
  }
</script>

<style scoped>
  .child {
    background-color: skyblue;
    box-shadow: 0 0 10px;
    border-radius: 10px;
    padding: 5px;
  }
</style>